﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Winter.BackEnd.Models.Domain
{
    public partial class ParameterValue
    {
        public string Caption
        {
            get
            {
                Localization loc = Resource.Localizations.SingleOrDefault(l => l.LanguageName == System.Threading.Thread.CurrentThread.CurrentCulture.Name);

                return (loc != null) ? loc.Text : "";
            }
        }
    }
}
